from abc import abstractmethod

class PersistStorage:
    def __init__(self, name:str) -> None:
        assert(name != None)
        self.name = name

    @abstractmethod
    def Read(self, field:str): ...

    @abstractmethod
    def Write(self, field:str, value) -> None: ...

    @abstractmethod
    def Save(self) -> None: ...

    @abstractmethod
    def Load(self) -> None: ...

